package avicit.bdp.dgs.metadata.compare.pojo;

import java.util.ArrayList;
import java.util.List;

public class CompareReporter {

  private int totalCount = 0;

  private int addCount = 0;

  private int dropCount = 0;

  private int alterCount = 0;

  private List<String> addList = new ArrayList<>();
  private List<String> dropList = new ArrayList<>();
  private List<String> alterList = new ArrayList<>();

  public int getTotalCount() {
    return totalCount;
  }

  public void setTotalCount(int totalCount) {
    this.totalCount = totalCount;
  }

  public int getAddCount() {
    return addCount;
  }

  public void setAddCount(int addCount) {
    this.addCount = addCount;
  }

  public int getDropCount() {
    return dropCount;
  }

  public void setDropCount(int dropCount) {
    this.dropCount = dropCount;
  }

  public int getAlterCount() {
    return alterCount;
  }

  public void setAlterCount(int alterCount) {
    this.alterCount = alterCount;
  }

  public List<String> getAddList() {
    return addList;
  }

  public void setAddList(List<String> addList) {
    this.addList = addList;
  }

  public List<String> getDropList() {
    return dropList;
  }

  public void setDropList(List<String> dropList) {
    this.dropList = dropList;
  }

  public List<String> getAlterList() {
    return alterList;
  }

  public void setAlterList(List<String> alterList) {
    this.alterList = alterList;
  }

  @Override
  public String toString() {
    return "共比较表 "
        + totalCount
        + " 张, 新增表 "
        + addCount
        + " 张, 修改表 "
        + alterCount
        + " 张, 删除表 "
        + dropCount
        + " 张";
  }
}
